package com.rayc.mall.api.dto;

import com.rayc.mall.common.enums.DefaultFlag;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * @Author: Ray-C
 * @CreateTime: 2025-03-23
 * @Description: 收货地址DTO
 * @Version: 1.0
 */
@Data
@ApiModel(description = "收货地址实体")
public class AddressDTO implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty("id")
    private Long id;
    @ApiModelProperty("用户id")
    private Long userId;
    @ApiModelProperty("省")
    private String province;
    @ApiModelProperty("市")
    private String city;
    @ApiModelProperty("县/区")
    private String town;
    @ApiModelProperty("手机")
    private String mobile;
    @ApiModelProperty("详细地址")
    private String street;
    @ApiModelProperty("联系人")
    private String contact;
    @ApiModelProperty("是否是默认 1默认 0否")
    private DefaultFlag isDefault;
    @ApiModelProperty("备注")
    private String notes;
}
